<template>
	<Upgrading :text1="msg[code]" :code="code"></Upgrading>
</template>

<script>
	import Upgrading from '../../components/upgrading/upgrading';
	export default {
		name: "index",
		components: {
			Upgrading,
			// Gauge
		},
		data(){
			return {
				msg:{
					'501':'数据异常，请退回上一页刷新重试!',
					'500':'我们将尽快恢复服务，给您造成的不便，敬请理解~',
					'-1':'你的网络好像不给力，' + '\n' + '请检查网络状况再尝试刷新页面',
				},
				code:'500'
			}
		},
		onLoad(options){
			this.code = options.code || '500'
		},
	}
</script>

<style scoped>

</style>
